package me.zhengjie.modules.vip.domain.dto;

import lombok.Data;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.DecimalMin;
import io.swagger.annotations.ApiModelProperty;

@Data
public class RechargeDTO {
    
    @NotNull
    @ApiModelProperty(value = "卡ID")
    private Long cardId;

    @NotNull
    @DecimalMin(value = "0.01", message = "充值金额必须大于0")
    @ApiModelProperty(value = "充值金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "赠送金额")
    private BigDecimal giftAmount;

    @NotNull
    @ApiModelProperty(value = "支付方式")
    private String paymentMethod;

    @ApiModelProperty(value = "备注")
    private String remarks;
} 